﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="A_Import.aspx.cs" Inherits="A_ImportPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
                    <asp:LinkButton ID="LinkButton1" runat="server" Font-Underline="False" >首页</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
                    <br />
                    <br />
                    <br />
        </div>  
        
        <div>
                   <asp:FileUpload ID="fileUpload" runat="server" Width="403px" />
                &nbsp; &nbsp;&nbsp;<asp:DropDownList ID="DL1" runat="server" Width="198px" >
                    <asp:ListItem>请选择导入数据表</asp:ListItem>
                    <asp:ListItem>学生基本信息</asp:ListItem>
                    <asp:ListItem>教师基本信息</asp:ListItem>    
                    <asp:ListItem>课程基本信息</asp:ListItem>    
                </asp:DropDownList>
            &nbsp; &nbsp;
                   <asp:Button ID="btnExport" runat="server" Text="导入到SQL Server" OnClick="btnExport_Click"/><br /> &nbsp;<br />　
        </div> 
        <div>
                 <asp:DropDownList ID="DL2" runat="server" Width="198px" >
                    <asp:ListItem>请选择导出数据表</asp:ListItem>
                    <asp:ListItem>学生基本信息</asp:ListItem>
                    <asp:ListItem>教师基本信息</asp:ListItem>    
                    <asp:ListItem>课程基本信息</asp:ListItem>    
                </asp:DropDownList>
                　 <asp:Button ID="Button1" runat="server" Text="导出到Excel" OnClick="Button1_Click"/>
            <br />
                <br />
                <br />
        </div>
        <div>
                <asp:DropDownList ID="DL3" runat="server" Width="198px">
                    <asp:ListItem>请选择删除数据表</asp:ListItem>
                    <asp:ListItem>学生基本信息</asp:ListItem>
                    <asp:ListItem>教师基本信息</asp:ListItem>    
                    <asp:ListItem>课程基本信息</asp:ListItem>        
                </asp:DropDownList>
            &nbsp;&nbsp;
                <asp:Button ID="Button2" runat="server" Text="删除数据表" OnClick="Button2_Click"/>
        </div>
        
    </form>
</body>
</html>
